[INFO] cloning repository https://github.com/androettop/pokemon-game-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/androettop/pokemon-game-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandroettop%2Fpokemon-game-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandroettop%2Fpokemon-game-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b5b32ac6f24703ec6d8218646d5af634a91d1a6c
[INFO] checking androettop/pokemon-game-rust against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandroettop%2Fpokemon-game-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/androettop/pokemon-game-rust on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/androettop/pokemon-game-rust
[INFO] finished tweaking git repo https://github.com/androettop/pokemon-game-rust
[INFO] tweaked toml for git repo https://github.com/androettop/pokemon-game-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/androettop/pokemon-game-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 00d550e42e26e661a8d3525d5bc1da1d4317fe4f8566b48a0eacbd635057b971
[INFO] running `Command { std: "docker" "start" "-a" "00d550e42e26e661a8d3525d5bc1da1d4317fe4f8566b48a0eacbd635057b971", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "00d550e42e26e661a8d3525d5bc1da1d4317fe4f8566b48a0eacbd635057b971", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00d550e42e26e661a8d3525d5bc1da1d4317fe4f8566b48a0eacbd635057b971", kill_on_drop: false }`
[INFO] [stdout] 00d550e42e26e661a8d3525d5bc1da1d4317fe4f8566b48a0eacbd635057b971
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3d6e4019c6962d906522f7ade08adbf2fedf3fac1372c38c90f7cdafd601a2f1
[INFO] running `Command { std: "docker" "start" "-a" "3d6e4019c6962d906522f7ade08adbf2fedf3fac1372c38c90f7cdafd601a2f1", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling serde v1.0.135
[INFO] [stderr]    Compiling serde_json v1.0.78
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking getrandom v0.2.4
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking pokemon-game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `v`
[INFO] [stdout]   --> src/pokemon.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Ok(v["pokemon_list"].as_array().unwrap())
[INFO] [stdout]    |         ^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |  |
[INFO] [stdout]    |         |  `v` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `v`
[INFO] [stdout]   --> src/pokemon.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Ok(v["pokemon_list"].as_array().unwrap())
[INFO] [stdout]    |         ^^^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |  |
[INFO] [stdout]    |         |  `v` is borrowed here
[INFO] [stdout]    |         returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `exp_needed` is never read
[INFO] [stdout]   --> src/pokemon.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let mut exp_needed = 0;
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `exp_needed` is never read
[INFO] [stdout]   --> src/pokemon.rs:77:21
[INFO] [stdout]    |
[INFO] [stdout] 77 |             let mut exp_needed = 0;
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pokemon-game` (bin "pokemon-game") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pokemon-game` (bin "pokemon-game" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3d6e4019c6962d906522f7ade08adbf2fedf3fac1372c38c90f7cdafd601a2f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3d6e4019c6962d906522f7ade08adbf2fedf3fac1372c38c90f7cdafd601a2f1", kill_on_drop: false }`
[INFO] [stdout] 3d6e4019c6962d906522f7ade08adbf2fedf3fac1372c38c90f7cdafd601a2f1
